package day03;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/2/14
 **/
public class fielseifdemo {
    public static void main(String[] args) {
        double price=2000;
    if(price>=2000){
        price*=0.5;
    }else if(price>=1000){
        price*=0.6;
    }else if(price>=500){
        price*=0.7;
    }else{
        price*=0.8;
    }
        System.out.println("最终的骨折价为"+price);
    }
}
